import request from '@/utils/request'
//获取优惠卷列表
export function fetchCouponList(param) {
  return request({
    url:'/store/merchantCoupon/queryList',
    method:'post',
    data:param
  })
}
//新增优惠卷
export function addCoupon(data) {
  return request({
    url:'',
    method:'post',
    data:data
  })
}
//删除优惠卷
export function deleteCoupon(ids) {
  return request({
    url:'/store/merchantCoupon/delete?ids='+ids,
    method:'post',
  })
}
//修改优惠卷
export function editCoupon(data) {
  return request({
    url:'',
    method:'',
    data:data
  })
}
